import { Injectable } from "@angular/core";
import { downgradeInjectable } from "@angular/upgrade/static";

@Injectable()
export class DataService {
  getData() {
    return ["item1", "item2"];
  }
}

// Downgrade for use in AngularJS
// __App__ && __App__.factory("dataService", downgradeInjectable(DataService));
